<template>
  <div class="change">
    <div class="change-body">
      <div class="changepart">
        <template>
          <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
            <el-tab-pane label="菜单列表" name="first">
              <menuDataform />
            </el-tab-pane>
          </el-tabs>
        </template>
      </div>
    </div>
  </div>
</template>

<script>
import menuDataform from "../menu/components_part/menuDataform.vue";
export default {
  components: {
    menuDataform,
  },
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang="scss" scoped>
.change {
  height: calc(100% - 40px);
  width: calc(100% - 40px);
  padding: 20px;
  background-color: #f0f0f0;
  .change-body {
    // width: 100%;
    // height: 100%;
    width: calc(100% - 40px);
    padding: 20px;
    background-color: #fff;
    .changepart {
      width: 100%;
      box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.16);
    }
  }
}
#pane-first>div{
  padding: 30px;
  min-width: 1000px;
}
</style>
